package com.guli.eduService;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zxc
 * @date 2023/04/25 22:00
 **/
@SpringBootApplication
@ComponentScan(basePackages = {"com.guli"})
@EnableDiscoveryClient // 允许将当前微服务模块注册到nacos注册中心去;
@EnableFeignClients // 允许微服务之间调用
public class CommentApplication {
    public static void main(String[] args) {
        SpringApplication.run(CommentApplication.class , args);
    }
}
